POV-Ray : Newsgroups : povray.general : Script language speed : Re: Script language speed Server Time
7 Aug 2024 13:17:09 EDT (-0400)
  Re: Script language speed  
From: Warp
Date: 7 Nov 2001 06:31:11
Message: <3be91b7f@news.povray.org>
Redbeard <red### [at] wvadelphianet> wrote:
: A good way is to parse an included file and keep the parsed file in memory for
: the entire execution.

  This might introduce some problems with self-modifying code. Of course it
shouldn't be a big loss to disallow this (most programming languages do).

  I also wonder if a pov-file including itself may cause some problem (yes,
this IS possible without creating an infinite include loop). Of course this
is also a trick not really necessary to be supported.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.